Skip to main content
PATCH
Update a deployment with a JSON Merge Patch on its `schemaVersion: 1` deployment body

Authorizations

token
string
cookie
required

JWT token stored in HTTP-only cookie

Path Parameters

clusterName
string
required

Query Parameters

namespace
string
required

namespace is required

Minimum string length: 1
dryRun
boolean

Return the plan without applying it

overwriteUnmanaged
boolean

Replace fields set outside this API (YAML editor, kubectl) instead of refusing

maintenance
Available options:
override

Body

A JSON Merge Patch (RFC 7386) on a DeploymentV1Request: send only the fields to change, and null to remove one. Also accepted as application/merge-patch+json.

schemaVersion
enum<integer>
required
Available options:
1
metadata
object

Changes to DeploymentV1Request.metadata (labels and annotations).

spec
object

Changes to DeploymentV1Request.spec.

Response

Default Response

schemaVersion
enum<number>
required
Available options:
1
plan
object
required
deployment
object
dryRun
boolean
queued
object